<?php 
include("db/connect.php");
$sqlorderlist="update orders SET orders_status='112' WHERE orders_status='000' AND '".date("Y-m-d")."' >= DATE(DATE_ADD(orders_date, INTERVAL 7 DAY)) "; 
$querysqlorder=mysql_query($sqlorderlist);

?>